import Layout from "@/views/layout.vue";

export default {
    routes: [
        {
            path: "/",
            component: Layout,
            redirect: "/roadConfiguration",
            children: [
                {
                    path: "/roadConfiguration",
                    name: 'roadConfiguration',
                    meta: {
                        title: "清运路线配置",
                        index: 1,
                    },
                    component: () => import("@/views/management/roadConfiguration.vue"),
                },


                // ***********************************日常清运
                {
                    path: "/orderManagement",
                    name: 'orderManagement',
                    meta: {
                        title: "预约订单管理",
                        index: 1,
                    },
                    component: () => import("@/views/management/orderManagement.vue"),
                },
                // 派单
                {
                    path: "/configOrder",
                    name: 'configOrder',
                    meta: {
                        title: "预约订单管理",
                        index: 2,
                    },
                    component: () => import("@/views/management/configOrder.vue"),
                },
            ],
        },
    ],
    tabList: [
        {
            name: '清运路线配置',
            path: '/roadConfiguration'
        },
        {
            name: '预约订单管理',
            path: '/orderManagement'
        }
    ]
}
